package com.letukeji.web.riverdelictmanagement.bean.vo;

import com.letukeji.web.riverdelictmanagement.bean.Book;
import com.letukeji.web.riverdelictmanagement.bean.Borrowing;
import lombok.Data;

@Data
public class BorrowingVo extends Borrowing {
    private Book book;
    private String username;
    private String bookName;

    public String getBookName() {
        return book == null ? null : book.getName();
    }
}
